@import "~antd/dist/antd.less";
.App {
  // text-align: center;
  // min-height: 100vh;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

///公共类定义

.flex {
  display: flex;
}
.flex-col {
  &:extend(.flex);
  flex-direction: column;
}
.flex-center {
  &:extend(.flex);
  justify-content: center;
  align-items: center;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.flex1 {
  flex: 1;
}

.font-size-sm {
  font-size: 12px;
}

.font-size-md {
  font-size: 14px;
}
.font-size-lg {
  font-size: 16px;
}
.font-size-xl {
  font-size: 18px;
}
.font-size-xxl {
  font-size: 20px;
}

.h-v-full {
  height: 100vh;
}
.h-full {
  height: 100%;
}
.w-v-full {
  width: 100vw;
}
.w-full {
  width: 100%;
}
